import request from '../utils/request'
export function getManages (params) {
  return request.get('/admin/interview/query', {
    params
  })
}
// 增加
export function addManage (data) {
  return request.post('/admin/interview/create', data)
}
// 删除
export function deleteManage (id) {
  return request.delete('/admin/interview/remove',
    {
      data: {
        id
      }
    }
  )
}
// 修改
export function updateManage (data) {
  return request.put('/admin/interview/update', data)
}
// 单体查看
export function selectOnce (id) {
  return request.get('/admin/interview/show', {
    params: {
      id
    }
  })
}
